package com.panfeng.xcloud.boss.provider.member.web.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value = "修改用户密码请求")
public class UpdPwdReqVO implements Serializable {

    @NotNull(message = "验证方式不能为空")
    @ApiModelProperty("验证方式 0:手机 1:邮箱")
    private Integer accountType;

    @NotNull(message = "修改密码类型不能为空")
    @ApiModelProperty("修改密码类型 0:登录密码 1:交易密码")
    private Integer passwordType;

    @NotBlank(message = "userId不能为空")
    @ApiModelProperty("用户ID")
    private String userId;

    @NotBlank(message = "要修改的密码不能为空")
    @ApiModelProperty("要修改的密码")
    private String password;

    //@NotBlank(message = "验证码不能为空")
    @ApiModelProperty("验证码")
    private String verifyCode;

    @NotBlank(message = "账号不能为空")
    @ApiModelProperty("账号")
    private String accountNumber;

    @NotBlank(message = "验证码类型不能为空")
    @ApiModelProperty("验证码类型 1注册 2登录 3账号安全")
    private String businessType;

}
